package com.dayaokeji.rhythmschoolstudent.event;

/**
 * Created by Gorden on 2018/3/24.
 */

public class AppStateEvent {
    private boolean isReq;
    private int code;

    public AppStateEvent(boolean isReq, int code) {
        this.isReq = isReq;
        this.code = code;
    }

    public boolean isReq() {
        return isReq;
    }

    public int getCode() {
        return code;
    }

    @Override
    public String toString() {
        return "AppStateEvent{" +
                "isReq=" + isReq +
                ", code=" + code +
                '}';
    }
}
